package org.jeecg.modules.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.biz.entity.EventWithdraw;

public interface EventWithdrawMapper extends BaseMapper<EventWithdraw> {

    @Select("select * from event_withdraw order by timestamp desc limit 0,1")
    EventWithdraw getLatestOne();
}
